#ifndef INFLATESTREAM_H
#define INFLATESTREAM_H

#include <QtCore>
// #include "zlib.h"

#define BUFFER_SIZE 65536

class InflateStream : public QObject {
  Q_OBJECT;

public:
  InflateStream(QIODevice *parent = 0);
  ~InflateStream();
  QByteArray readAll();

private:
//  z_stream strm;
  char    *input, *output;
};

#endif // INFLATESTREAM_H
